<?php
class Categorymanager_Data_Categorymetavaluesupdate implements Categorymanager_Data_Mainable{
    
    private $core_controller_dataoperation;
    
    public function __construct() {
        $this->core_controller_dataoperation = new Core_Controller_Dataoperation;
    }
    
    public function main(array $variables = null) {
        $variables['query'] = "UPDATE category_meta_values SET category_meta_values.category_meta_title='".$variables['post']['category_meta_title']."', category_meta_values.category_meta_description = '".$variables['post']['category_meta_description']."', category_meta_values.category_meta_keywords='".$variables['post']['category_meta_keywords']."' WHERE category_meta_values.category_name = '".$variables['post']['category_name']."';";
        //echo $variables['query'];
        //die();
        return $this->core_controller_dataoperation->main($variables);
    }

}
